
# import re  

# text = input("Please input your Email address：\n")  

# # if re.match(r'^[0-9a-zA-Z_]{0,19}@[0-9a-zA-Z]{1,13}\.[com,cn,net]{1,3}$',text):  
# if re.match(r'[0-9a-zA-Z_]{4,20}@163\.com$',text):  
#     print('Email address is Right!')  
# else:  
#  	print('Please reset your right Email address!') 


import re

text = input("输入你的邮箱：\n")

if re.match(r'[0-9a-zA-Z_]{4,20}@(163|qq)\.com$',text):
    print("right")
else:
    print("wrong")